package com.example.jichu_1.api;

import com.example.jichu_1.bean.BanBean;
import com.example.jichu_1.bean.GirlBean;

import io.reactivex.Observable;
import retrofit2.http.GET;

public interface ApiService {
    //    https://www.wanandroid.com/banner/json
//    https://gank.io/api/v2/data/category/Girl/type/Girl/page/1/count/10
    String BannerUrl = "https://www.wanandroid.com/";

    @GET("banner/json")
    Observable<BanBean> getBanners();

    String GirlsUrl = "https://gank.io/api/";

    @GET("v2/data/category/Girl/type/Girl/page/1/count/10")
    Observable<GirlBean> getGirls();
}
